package com.ruoyi.projects.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 案例对象 sl_demos
 * 
 * @author yangz
 * @date 2024-12-01
 */
public class SlDemos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案例id */
    private Long id;

    /** 案例轮播图 */
    @Excel(name = "案例轮播图")
    private String swiperImgs;

    /** 案例昵称 */
    @Excel(name = "案例昵称")
    private String demoTitle;

    /** 案例描述 */
    @Excel(name = "案例描述")
    private String demoText;

    /** 案例操作次数 */
    @Excel(name = "案例操作次数")
    private Long demoTimes;

    /** 案例效果百分比 */
    @Excel(name = "案例效果百分比")
    private String demoRadios;
    private Integer pageNum;
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSwiperImgs(String swiperImgs) 
    {
        this.swiperImgs = swiperImgs;
    }

    public String getSwiperImgs() 
    {
        return swiperImgs;
    }
    public void setDemoTitle(String demoTitle) 
    {
        this.demoTitle = demoTitle;
    }

    public String getDemoTitle() 
    {
        return demoTitle;
    }
    public void setDemoText(String demoText) 
    {
        this.demoText = demoText;
    }

    public String getDemoText() 
    {
        return demoText;
    }
    public void setDemoTimes(Long demoTimes) 
    {
        this.demoTimes = demoTimes;
    }

    public Long getDemoTimes() 
    {
        return demoTimes;
    }
    public void setDemoRadios(String demoRadios) 
    {
        this.demoRadios = demoRadios;
    }

    public String getDemoRadios() 
    {
        return demoRadios;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("swiperImgs", getSwiperImgs())
            .append("demoTitle", getDemoTitle())
            .append("demoText", getDemoText())
            .append("demoTimes", getDemoTimes())
            .append("demoRadios", getDemoRadios())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
